﻿using DGZImp.ApsProject.DomainModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DGZImp.ApsProject.Dtos
{
    internal class Aps_Calendar
    {
    }


    public class ReqApsCalendarInfo
    {
        public string StartTime { get; set; }
        public string EndTime { get; set; }
        public long ScheduleId0 { get; set; }
        public long ScheduleId1 { get; set; }

        public List<int> Weeks { get; set; }
        public bool IsSkip { get; set; }
        public bool IsResult { get; set; }

    }
    public class ReqApsMachineShift
    {
        public string StartTime { get; set; }
        public string EndTime { get; set; }


        public List<long> deviceIds { get; set; }


    }
    public class ReqApsMathineCalendarInfo
    {
        public string StartTime { get; set; }
        public string EndTime { get; set; }

        public List<ReqApsMachine>? Items { get; set; }


    }
    public class UpdateApsMathineCalendarInfo
    {
        public long? MachineCalendarId { get; set; }
        public string Date { get; set; }

        public List<ReqApsMachine> Items { get; set; }


    }
    public class ReqApsMachine
    {
        public long? MachineId { get; set; }

        public string StartTime { get; set; }
        public string EndTime { get; set; }

        public int CalendarType { get; set; }
        public string Hours { get; set; }
    }

    public class ResLeanApsLineCalendarInfo : Aps_PlantCalendar
    {
        public string ShiftCode { get; set; }
        public string ShiftName { get; set; }
        public string row_id { get; set; } // 渲染甘特图的时间


    }
    public class MachineShift : Aps_MachineShift
    {
        public string ShiftCode { get; set; }
        public string ShiftName { get; set; }
        public string row_id { get; set; } // 渲染甘特图的时间


    }
    public class ApsOrderInfo : Aps_SalesOrder
    {
        public string MaterialtCode { get; set; }
        public string MaterialtName { get; set; }


    }
    public class ResLeanApsMachineCalendarInfo : Aps_MachineCalendar
    {
        public string MachineCode { get; set; }
        public string MachineName { get; set; }
    }

}
